<?php
/**
 * @Copyright Copyright (C) 2010-2012
 * @license GNU/GPL http://www.gnu.org/copyleft/gpl.html
 + Created by:          Webit Solution
 * Company:		Webit Solution
 + Contact:		www.webitsolution.com , developer@webitsolution.com
 * Created on:	Mar 21, 2012
 ^
 + Project: 		WRecruit
 * File Name:	views/employer/tmpl/formcompany.php
 ^ 
 * Description: template for form company
 ^ 
 * History:		NONE
 ^ 
 */

defined('_JEXEC') or die('Restricted access');

 global $mainframe;

$editor = & JFactory :: getEditor();
JHTML :: _('behavior.calendar');

 $document =& JFactory::getDocument();
 $document->addStyleSheet('components/com_wrecruit/css/'.$this->config['theme']);
//	$version = new JVersion;
//	$joomla = $version->getShortVersion();
//	$jversion = substr($joomla,0,3);
//
//	$dateformat = $this->config['date_format'];
//	$firstdash = strpos($dateformat,'-',0);
//	$firstvalue = substr($dateformat, 0,$firstdash);
//	$firstdash = $firstdash + 1;
//	$seconddash = strpos($dateformat,'-',$firstdash);
//	$secondvalue = substr($dateformat, $firstdash,$seconddash-$firstdash);
//	$seconddash = $seconddash + 1;
//	$thirdvalue = substr($dateformat, $seconddash,strlen($dateformat)-$seconddash);
//	$js_dateformat = '%'.$firstvalue.'-%'.$secondvalue.'-%'.$thirdvalue;

?>
<form action="index.php" method="post" name="adminForm" id="adminForm" class="form-validate" enctype="multipart/form-data">

<table>
    <tr>
        <td><label id="firstname" for="firstname"><?php echo JText::_('First Name'); ?></label></td>
        <td><input type="text" name="firstname" id="firstname"/></td>
        
        <td><label id="lastname" for="lastname"><?php echo JText::_('Last Name'); ?></label></td>
        <td><input type="text" name="lastname" id="lastname"/></td>
    </tr>
     <tr>
        <td></td>
        <td><input type="text" name="name" id="name"/></td>
        
        <td><label id="lastname" for="lastname"><?php echo JText::_('Username'); ?></label></td>
        <td><input type="text" name="username" id="username"/></td>
    </tr>
    <tr>
        <td><label id="cand_email" for="cand_email"><?php echo JText::_('Email'); ?></label></td>
        <td><input type="text" name="email1" id="email1"/></td>
        
         <td><label id="cand_email_re" for="cand_email_re"><?php echo JText::_('Re-Enter Email'); ?></label></td>
         <td><input type="text" name="email2" id="email2"/></td>
    </tr>
    <tr>
        <td><label id="password" for="password"><?php echo JText::_('Password'); ?></label></td>
        <td><input type="text" name="password1" id="password1"/></td>
        
        <td><label id="re_password" for="re_password"><?php echo JText::_('Re-Enter Password'); ?></label></td>
        <td><input type="text" name="password2" id="password2"/></td>
    </tr>
    
     <tr>
        <td><label id="firstname" for="firstname"><?php echo JText::_('Phone'); ?></label></td>
        <td><input type="text" name="firstname" id="firstname"/></td>
        
        <td><label id="lastname" for="lastname"><?php echo JText::_('Education'); ?></label></td>
        <td><input type="text" name="lastname" id="lastname"/></td>
    </tr>
    <tr>
        <td><label id="cand_email" for="cand_email"><?php echo JText::_('Address'); ?></label></td>
        <td><input type="text" name="cand_email" id="cand_email"/></td>
        
         <td><label id="cand_email_re" for="cand_email_re"><?php echo JText::_('Industry'); ?></label></td>
         <td><input type="text" name="cand_email_re" id="cand_email_re"/></td>
    </tr>
    <tr>
        <td><label id="password" for="password"><?php echo JText::_('Country'); ?></label></td>
        <td><input type="text" name="password" id="password"/></td>
        
        <td><label id="re_password" for="re_password"><?php echo JText::_('City'); ?></label></td>
        <td><input type="text" name="re_password" id="re_password"/></td>
        
    </tr>
    <tr>        
        <td>Would you like to be subscribed to your newsletter?</td>        
        <td></td>
        <td>You need to accept our terms of condition and privacy policy</td>
        <td></td>        
    </tr>  
    <tr>        
        <td></td>        
        <td></td>
        <td></td>
        <td><input type="submit" value="register" name="" id="re_password"/></td>
        
    </tr>    
    <input type="hidden" name="uid" value="<?php //echo $this->uid; ?>" />
    <input type="hidden" name="option" value="com_wrecruit<?php //echo $this->option; ?>" />
    <input type="hidden" name="task" value="savecandidate" />
    <input type="hidden" name="check" value="" />
    
</table>
    </form>